home *** CD-ROM | disk | FTP | other *** search
/ Quarterdeck Expanded Memory Manager 7.0 / Quarterdeck Expanded Memory Manager v7.0.img / TECHNOTE.QIP / EXCLUDE.TEC < prev    next >
Text File  |  1993-06-18  |  11KB  |  226 lines

  1.  
  2.       Using QEMM's Analysis Procedure to Find Memory Conflicts
  3.  
  4.  
  5.  
  6.   This QEMM 7 technote is an abridged version of a technical
  7.   bulletin that is available through our standard support channels.
  8.   The information contained in this version pertains ONLY to QEMM
  9.   version 7.0.  If you need information relating to earlier versions
  10.   of QEMM or if you are interested in a lengthier discussion of this
  11.   subject, you can obtain the unabridged version from the following
  12.   sources:
  13.  
  14.   Quarterdeck Technical Support BBS:  EXCLUDE.TEC
  15.                          CompuServe:  EXCLUD.TEC
  16.                               Q/FAX:  #239
  17.  
  18.  
  19.   Subject: Finding potential conflicts in the address space between
  20.   640K and 1MB by using QEMM's Analysis procedure.  An important
  21.   note for users on network workstations.
  22.  
  23.  
  24.   The purpose of this document is to explain the use of QEMM's
  25.   ANALYSIS feature. ANALYSIS is a procedure used to find address
  26.   space between 640K and 1024K that is used by your hardware (or,
  27.   in rare cases, by software programs) but whose use is undetected
  28.   by QEMM during bootup.  To prevent memory conflicts, these areas
  29.   must be excluded explicitly on the QEMM386.SYS line of the
  30.   CONFIG.SYS. PLEASE NOTE:  If you are using Stealth ROM, you
  31.   should refer to our Stealth ROM troubleshooting technical
  32.   bulletin STEALTH.TEC.
  33.  
  34.   WHAT IS ANALYSIS?
  35.  
  36.   Whenever QEMM is "on" it monitors the use of the first megabyte
  37.   of address space.  The QEMM/ANALYSIS screen of MANIFEST points
  38.   out portions of the address space that need to be excluded from
  39.   QEMM's use because they are being used by a hardware device
  40.   installed in your PC or by a piece of software you are running.
  41.   Such addresses are indicated on the ANALYSIS screen by the letter
  42.   X (which appears red on color monitors.)
  43.  
  44.   WHY SHOULD I USE ANALYSIS?
  45.  
  46.   If you are getting an Exception #13 error message, are unable to
  47.   access your network when QEMM is installed, cannot access a
  48.   floppy, use your printer, or run some program, are experiencing
  49.   lock-ups at some identifiable point in operating your computer
  50.   (from booting the system to running your word processor), or have
  51.   some other problem when running QEMM that you do not have when
  52.   you do not run QEMM, then the ANALYSIS procedure may be a useful
  53.   diagnostic process.
  54.  
  55.   You may also want to use ANALYSIS in order to find address space
  56.   that is NEVER accessed by your hardware or software so that these
  57.   areas can be INCLUDED for QEMM's use, increasing your available
  58.   High RAM.
  59.  
  60.   WHY IS THIS NECESSARY?
  61.  
  62.   This procedure may be necessary at times because some Adapter
  63.   ROMs and Adapter RAMs do not identify themselves in such a way as
  64.   to be detected properly by QEMM.  Adapter ROMs are supposed to
  65.   identify their length in the third byte of the ROM itself, but
  66.   sometimes report a smaller size.  Adapter RAM that is not active
  67.   at bootup time looks exactly like unoccupied address space.  QEMM
  68.   maps memory into unused address space between 640 and 1024K, and
  69.   will map over such adapter ROMs and RAMs.
  70.  
  71.   Also, some special CGA video cards have two pages of video: one
  72.   at B800-BBFF, the second at BC00-BFFF.  QEMM may map over the
  73.   second page, causing a conflict if you run a program that tries
  74.   to use the second page.  In rare situations a program may use
  75.   portions of the upper address space directly.
  76.  
  77.   HOW DOES ANALYSIS WORK?
  78.  
  79.   The QEMM/ANALYSIS screen of MANIFEST is a cross-reference between
  80.   the QEMM/TYPE and QEMM/ACCESSED screens.  The TYPE screen shows
  81.   who QEMM thinks is using the address space:  Video, ROM, Page
  82.   frame, High RAM, etc.  The ACCESSED screen shows whether the
  83.   address space has been accessed.  The ANALYSIS screen reports
  84.   that address space should be excluded from QEMM's use when ALL of
  85.   the following conditions exist:
  86.  
  87.   1)  QEMM is not itself accessing the upper address space (as it
  88.   will when the RAM parameter is on the QEMM386.SYS line of the
  89.   CONFIG.SYS.
  90.  
  91.   2)  QEMM is finding that some portion of the address space is
  92.   being accessed.
  93.  
  94.   3)  QEMM is not detecting the existence of a video card, ROM,
  95.   adapter RAM or ROM, or the like in this same portion of the
  96.   address space, but is finding it "mappable" instead.
  97.  
  98.   How do I use ANALYSIS to find EXCLUDEs?
  99.  
  100.   1. The first step is to determine if QEMM's Stealth ROM feature
  101.   is enabled.  At the DOS prompt, type QEMM and press Enter.
  102.  
  103.   A report summarizing QEMM's status is displayed. If you see the
  104.   line Stealth Type = M or Stealth Type = F, Stealth ROM is
  105.   enabled; make a note of the mode being used (M or F.)
  106.  
  107.   2. Use a text editor to edit your CONFIG.SYS file and type REM
  108.   followed by a space at the beginning of the line that starts as
  109.   follows:
  110.  
  111.   DEVICE=C:\QEMM\QEMM386.SYS  (REM causes the line to be ignored).
  112.  
  113.   The line should look something like this:
  114.  
  115.   REM DEVICE=C:\QEMM\QEMM386.SYS (parameters not shown)
  116.  
  117.   3. Add a new line directly below the line you just edited. What
  118.   the line says depends on whether Stealth ROM is enabled on your
  119.   system.
  120.  
  121.   If you are using Stealth ROM:  Add the following line,
  122.   substituting the appropriate Stealth ROM letter, M or F for the x
  123.   in ST:x.
  124.  
  125.   DEVICE=C:\QEMM\QEMM386.SYS ON MAPS=0 ST:x FSTC:Y
  126.  
  127.   If you are not using Stealth ROM: Add the following line:
  128.  
  129.   DEVICE=C:\QEMM\QEMM386.SYS ON MAPS=0
  130.  
  131.   4. Save your CONFIG.SYS file and reboot your PC.
  132.  
  133.   Now you are ready to use the program or device that has been
  134.   giving you trouble since you installed QEMM.  If the problem is
  135.   with a piece of software, run that program and access the
  136.   features you normally use.  If you are having trouble with a
  137.   particular hardware operation, perform that operation.
  138.  
  139.   If you are attempting to find addresses that can be INCLUDED for
  140.   QEMM's use, use every piece of software that you might use during
  141.   the course of your workday and use as many features as possible.
  142.   Access every hardware device. If you use DESQview, run it but
  143.   then exit without running any programs inside of it.
  144.  
  145.   PLEASE NOTE:  The new QEMM line you added for the Analysis
  146.   procedure did not include the RAM parameter. That means you no
  147.   longer have High RAM, so device drivers and TSRs will load low
  148.   and you will not have as much conventional memory to run
  149.   programs. We will add the RAM parameter back later.
  150.  
  151.   5. Without rebooting your computer, run Manifest by typing MFT at
  152.   the DOS prompt.  Look at the QEMM/ANALYSIS screen.  If you see
  153.   any "X's" these areas must be excluded by adding an appropriate
  154.   EXCLUDE statement to the QEMM device line.  If you see "I's" you
  155.   can try to INCLUDE them.  The green "I's" that you see on the
  156.   QEMM/ANALYSIS screen indicate that this portion of the address
  157.   space has not been accessed by anyone YET and QEMM is not mapping
  158.   this portion of the address space.  It is quite possible that
  159.   this portion of the address space will be accessed later.  (As an
  160.   example: The portion of the system BIOS ROM that contains the
  161.   code for controlling the floppy drive may report that it is
  162.   includable until you actually use the drive.  If you INCLUDE it
  163.   you will have no problem until you access a floppy.) In essence
  164.   what Manifest is saying is "You may be able to use these upper
  165.   memory addresses to load drivers and TSR's.  But maybe not." If
  166.   you notice any problems after adding INCLUDEs, remove them one by
  167.   one until you determine which you can safely use.
  168.  
  169.   6. Our final step is to edit the CONFIG.SYS file.  Delete the
  170.   word REM from the original QEMM386.SYS line.  Then use EXCLUDE
  171.   statements to prevent QEMM from mapping memory into addresses
  172.   used by your devices and/or software, as determined by the
  173.   ANALYSIS procedure.  If the ANALYSIS screen suggested areas to be
  174.   INCLUDED, add INCLUDE statements also.  If you are not sure of
  175.   the correct syntax to use for INCLUDE and EXCLUDE statements,
  176.   refer to your QEMM manual.
  177.  
  178.   Delete the QEMM device line we created for our ANALYSIS, then
  179.   save the new CONFIG.SYS file and rerun Optimize.  (This is
  180.   necessary whenever you do something which alters your regions of
  181.   High RAM.)
  182.  
  183.   CAN ANALYSIS FAIL?
  184.  
  185.   Some hardware devices may use upper address space, but only
  186.   momentarily.  For instance, there is a Bernoulli drive that has
  187.   an Adapter ROM that goes in the upper address space.  When the
  188.   device driver for the Bernoulli Box loads it searches for itself
  189.   at the beginning of every 8K portion of the address space
  190.   beginning at C800.  If the Adapter ROM happens to be located at
  191.   DC00, then the device driver will access every other 4k of the
  192.   address space from C800 to DC00, causing Xs to appear on the
  193.   ANALYSIS screen every other block in this area.  These areas,
  194.   however, are only being used during the searching process and
  195.   need not be excluded except, possibly, the DC00-DEFF, where the
  196.   Adapter ROM of the Bernoulli actually resides.  In such a case,
  197.   it would be necessary to experiment with each exclude in order to
  198.   find out what exclusion is really needed.
  199.  
  200.   Additionally, QEMM is not active while you are running Microsoft
  201.   Windows in its 386 Enhanced mode and the ANALYSIS process is not
  202.   useful for the period of time that you are in Enhanced Mode.
  203.  
  204.   WHAT IS THE COST FOR EXCLUDING AN AREA OF UPPER MEMORY?
  205.  
  206.   EXCLUDing a portion of the address space will cost you some
  207.   usable High RAM. It will not make your system malfunction in any
  208.   way. While you do not want to forfeit any usable High RAM by
  209.   excluding a larger area of upper memory than necessary, failing
  210.   to exclude an area used by your hardware can cause your system to
  211.   lock up or malfunction in some other way.
  212.  
  213.   SUMMARY
  214.  
  215.   QEMM does its best to identify upper memory address space that is
  216.   being used by your hardware and software, but is not always 100%
  217.   successful.  ANALYSIS is a tool to allow you to identify address
  218.   space between 640K and 1024K that is being used by your hardware
  219.   (or, in rare cases, by a piece of software) which cannot be
  220.   identified through the documentation accompanying the product.
  221.  
  222.   ******************************************************************
  223.   This technical note may be copied and distributed freely as long
  224.   as it is distributed in its entirety and it is not distributed
  225.   for profit.  Copyright (C) 1990-93 by Quarterdeck Office Systems
  226.   ******************** E N D   O F   F I L E ***********************